home *** CD-ROM | disk | FTP | other *** search
- Path: uuneo.neosoft.com!usenet
- From: Reuven Lax <laxrl@neosoft.com>
- Newsgroups: comp.lang.c
- Subject: Re: Search routines
- Date: Sat, 20 Apr 1996 22:16:03 -0600
- Organization: NeoSoft Internet Services +1 713 968 5800
- Message-ID: <3179B683.4722@neosoft.com>
- References: <31741C46.2DF2@stc.net>
- NNTP-Posting-Host: scooter-ppp-ec.neosoft.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Win95; I)
-
- dmaher@stc.net wrote:
- >
-
- I am searching for
- > information on search routines. I need at least five, and I was
- > wondering if anybody could help me out. I'm aware of binary and
- > sequential searches for C++, but I really need at least 3 or 4 more.
-
- Well, you have the Boyer-Moore algorithm, and the Knuth-Morris-Prat (a
- mouthfull) algorithm, for unordered dsts structures. Binary search is
- for ordered data structers. If you build a b-tree out od your data that
- also signficately improves your search speed. Another popular method,
- is hashing. You might want to look some of these up (that is if your
- not familiar with any of them).
-
- Reuven Lax
-